import request from '@/utils/request'

export default {
    getLifeArticleInfo(pages) {
        return request({
            url: '/lifeArticle/getLifeArticleInfo',
            method: 'post',
            data: pages
        });
    },
    
    queryByTopic(data) {
        return request({
            url: '/discussTopic/queryByTopic',
            method: 'post',
            data: data
        });
    },
    
    getLabelInfo(data) {
        return request({
            url: '/discussLabel/getLabelInfo',
            method: 'post',
            data: data
        });
    },
    getDiscussInfo(data) {
        return request({
            url: '/discussInfo/getDiscussInfo',
            method: 'post',
            data: data
        });
    }
};
